package cn.edu.cimv.service;

import cn.edu.cimv.dao.entity.News;

import java.util.List;

/**
 * Created by 门铎 on 2016/6/27.
 */
public interface NewsService {
    //编辑学术动态
    void editNews(News news);
    //查询学术动态
    List<News> queryNews(int flag);
    //根据id查询单条学术动态
    News queryNewsById(int id);
    //删除学术动态
    void deleteNews(int id);
    //放置在最新动态中
    void setLastNews(int id,int flag);
    //修改学术动态
    void updateNews(News news);
}
